<?php 

include './funo.php';
// include './add.php';
$upload=glob("./Upload/*/*");
// $db = include './db.php';
$count = count($upload);

$curren = isset($_GET['p']) ? $_GET['p'] : 1;
$total = ceil($count/5);
$cs=$curren-1;
if ($cs==0) {
	$cs=1;
}
$cz=$curren+1;
if ($cz== ($total+1)) {
	$cz=$total;
}
$zz=5;
$cc=$curren*$zz;
$z=($curren-1)*$zz;
include './index.html';

 ?>